package com.alfred.redis.constant;

public enum RedisLimtCodeEnum {
    SERVICE_REDIS_LIMIT_IS_NULL(1001001000, "redisLimit is null"),
    SERVICE_REQUEST_CURRENT_LIMIT(1001001001, "request current limit");


    private final int code;
    private final String message;

    RedisLimtCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
